package com.cdy.jxc_project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdy.jxc_project.domain.TGoods;
import com.cdy.jxc_project.domain.vo.InventoryQuantityVo;
import com.cdy.jxc_project.json.R;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/*
 * @Project:jxc_project
 * @Author:cdy(缘生)
 * @Motto:放下杂念,只为迎接明天更好的自己
 * @Date:2023/4/23 10:40
 * */
public interface TGoodsService extends IService<TGoods> {

    List<TGoods> queryTGoodsList(Integer id);

    int deleteTGoods(Integer id);

    int updateTGoods(TGoods tGoods);

    int insertTGoods(TGoods tGoods);

    void easyImport(MultipartFile file, R r);

    int updateTGoodsInventoryQuantity(InventoryQuantityVo inventoryQuantityVo);
}
